package com.ys.web.service;

import java.util.List;

import javax.jws.WebService;

import com.ys.web.pojo.InverseKeywordInfo;
import com.ys.web.pojo.MainBussinessInfo;

@WebService
public interface MainBussinessService {

	//添加主营业务
	public String addMainBussiness(String industryId,String industryName,String mainBussiness);
	//通过行业id查找主营业务
	public List<MainBussinessInfo> getMainBussinessByIndustryId(String industryId);
	//添加否词
	public String addInverse(String industryId,String industryName,int mid,String mainBussiness,String inverseKeyword,String matchedPattern);
	//通过行业id和主营业务查找否词
	public List<InverseKeywordInfo> getInverse(String industryId,String mainBussiness);
	//通过主营业务id查找主营业务
	public MainBussinessInfo getMainBussinessById(Integer id);
	
}
